package com.example.router

import android.content.Context
import com.alibaba.android.arouter.facade.Postcard
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.facade.service.DegradeService
import com.example.base.RoutePath

//@Route(path = RoutePath.ROUTE_GLOBAL_DEGRADE_SERVICE)
//class GlobalDegradeService:DegradeService {
//    private lateinit var mContext:Context
//    override fun init(context: Context?) {
////        if(context != null){
////            mContext = context
////        }
//    }
//
//    override fun onLost(context: Context?, postcard: Postcard) {
////        postcard.path = RoutePath.ROUTE_EMPTY
////        postcard.group = RoutePath.GROUP_EMPTY
////        postcard.navigation()
//    }
//
//}